/*
 * VegetableSuppliesGetterVisitor.cpp
 *
 *  Created on: 10-01-2011
 *      Author: Piotr
 */

#include "world/visitors/VegetableSuppliesGetterVisitor.hpp"
using std::vector;

void VegetableSuppliesGetterVisitor::visit(Individual&)
{

}

void VegetableSuppliesGetterVisitor::visit(Barrier&)
{

}

void VegetableSuppliesGetterVisitor::visit(MeatSupply&)
{

}

void VegetableSuppliesGetterVisitor::visit(VegetableSupply& vegetableSupply)
{
	vegetableSupplies.push_back(&vegetableSupply);
}

void VegetableSuppliesGetterVisitor::visit(WaterSupply&)
{

}

const vector<VegetableSupply*> VegetableSuppliesGetterVisitor::getVector()
{
	return vegetableSupplies;
}
